﻿<%@ Page Language="C#" CodeFile="ImportSIUIUpload.aspx.cs" Inherits="UploadSIUI" %>

<%@ Register Namespace="CustomControlsNS" TagPrefix="cc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title></title>

	<script language="JavaScript" type="text/javascript">
		function HandleFileButtonClick() {
			document.frmUpload.myFile.click();
			document.frmUpload.txtFakeText.value = document.frmUpload.myFile.value;
			window.parent.$get(window.parent.g_str_txtPath).value = document.frmUpload.myFile.value; ;
		}
	</script>

</head>
<body style="margin: 0px">
	<form id="frmUpload" enctype="multipart/form-data" runat="server">
	<asp:PlaceHolder runat="server" ID="ph" />
	
	<input type="file" name="myFile" style="display: none" />
    <input type="text" name="txtFakeText" readonly="true" />
    <input type="button" onclick="HandleFileButtonClick();" value="Browse" />

	</form>
</body>
</html>
